package com.yujn.springsecurityactual.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description: demo controller
 * @author: Yujn
 * @create: 2021-03-14 10:21
 **/
@RestController
public class DemoController {

    @RequestMapping("/hello")
    @GetMapping
    public String hello(){
        return "hello spring securtiy!";
    }
}
